package com.ruiyun.ruinews.base;

import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.widget.Toast;

/**
 * Created by zouhui on 16/1/7.
 */
public class BaseActivity extends AppCompatActivity{
    public final static  String TAG = "ruiTest";
    public void newsToast(String msg) {
        Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();
    }
    public void newsLog(String msg){
        Log.d(TAG, "newsLog() called with: " + "msg = [" + msg + "]");
    }
}
